from flask import Blueprint

# 创建蓝图对象 在manage.py中建立联系
ac = Blueprint(__name__)

@ac.route('/login')
def login():
    return "login"

@ac.route('/logout')
def logout():
    return "logout"s